package com.coderman.infosys.auth.domain.bo.authority;


import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
* @Description:角色权限聚合根类
* @Author:shenshuai
* @CreateTime:2022-01-02 15:27:38
* @version v1.0
*/
@Data
@ToString
public class RoleAuthAggregateBO {


   /**
    * 角色编码
    */
   private String roleCode;

   /**
    * 角色关联了哪些用户ID
    */
   private List<Long> userIdList;

   /**
    * 该角色被哪些角色组关联
    */
   private List<String> roleGroupCodeList;

   /**
    * 权限聚合根对象
    */
   private AuthAggregateBO authAggregateBO;

}